<template>
	<div>
	<top-nav bgColor="white" title="账户详情"  btnName="btn"  :rightShow="false"  returnPath="上一级" ></top-nav>
	<div style="width: 100%;height: 3rem;"></div>
		<section style="text-align: left;width: 100%;height: 23rem;padding: 0 1.5rem;position: relative;border-bottom: 1px solid gainsboro;">

			<section class="title">
				<label style="flex: 2;">账户编号：</label>
				<span style="flex: 7;text-align: left;">		{{data.BillNo}}</span>
			</section>
			<section class="title">
				<label style="flex: 2;">客户姓名：</label>
				<span style="flex: 7;text-align: left;">		{{data.CustomName}}</span>
			</section>
				<section class="title">
				<label style="flex: 2;">客户编号：</label>
				<span style="flex: 7;text-align: left;">		{{data.CustomNumber}}</span>
			</section>
							<section class="title">
				<label style="flex: 2;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;余额：</label>
				<span style="flex: 7;text-align: left;">		{{data.Balance}}</span>
			</section>
<!--			{{data}}-->
						<!--<section class="title">
				<label style="flex: 2;">客户姓名：</label>
				<span style="flex: 7;text-align: left;">		{{CustomName}}</span>
			</section>
						<section class="title">
				<label style="flex: 2;">客户姓名：</label>
				<span style="flex: 7;text-align: left;">		{{CustomName}}</span>-->
			</section>
	</section>
	
	

	</div>
</template>

<script>
	 import TopNav from '@/components/nav/topNav.vue'
	  export default {
		components: {
		      TopNav
		},
		data(){
			return{
//			ID:'123',
//			BillNo:'',
//			CustomName:'',
//			CustomID:'',
//			CustomNumber:'',
//			Time:'',
			data:null
		
			}
		},
		mounted(){
			this.ID=this.$route.params.ID
//			this.BillNo=this.$route.params.BillNo
//			this.CustomName=this.$route.params.CustomName
//			this.CustomID=this.$route.params.CustomID
//			this.CustomNumber=this.$route.params.CustomNumber
//			this.Time=this.$route.params.Time
			this.data=this.$route.params.data
		
		},
		methods:{
				getAllSalesCarByorder(){
				let that=this
				that.axios.post('/demo/getAllSalesCarByorder',{
					
					'factoryId':this.$parent.factoryId,
					'uid':this.$parent.factoryInfo.UID,
					'currentpage':'1',
					'assid':that.$route.params.assid,
					'itemid':that.$route.params.itemid,
					'customerid':that.$route.params.customerid,
					'organizeid':that.$route.params.organizeid,
					'orderid':that.$route.params.orderid
					
					
				}).then(function(response){
					that.list=response.data.data.list
					console.info(response.data.data.list)
				}).catch(function(error){
					
				})
				}
	 		}
		}
</script>

<style>
</style>